<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var r = Math.random()*100+100;
    //0.5 * 100 = 50
    // 0.8 * 100 = 80
    // 0.99 * 100
    //0.01 * 100 = 1

    r = Math.floor(r);


    console.log(r);
</script>
</body>
</html>